package me.fanchaoo.web.dao.mapper;

import org.apache.ibatis.annotations.Param;
import me.fanchaoo.dbo.TagDBO;

import java.util.List;

public interface TagQueryMapper {
    TagDBO selectByPrimaryKey(Long id);
    TagDBO selectByName(String name);
    List<TagDBO> queryTag(@Param("artistId") Long artistId, @Param("userId") Long userId,
                          @Param("start") Integer start, @Param("pageSize") Integer pageSize, @Param("keyword") String keyword, @Param("sort") String sort);
}


